Optimal. Leaf size=12 \[ -\frac {1}{\sqrt {a \sec ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3738, 4209, 32}
\begin {gather*} -\frac {1}{\sqrt {a \sec ^2(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 3738
Rule 4209
Rubi steps
\begin {align*} \int \frac {\tan (x)}{\sqrt {a+a \tan ^2(x)}} \, dx &=\int \frac {\tan (x)}{\sqrt {a \sec ^2(x)}} \, dx\\ &=\frac {1}{2} a \text {Subst}\left (\int \frac {1}{(a x)^{3/2}} \, dx,x,\sec ^2(x)\right )\\ &=-\frac {1}{\sqrt {a \sec ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 12, normalized size = 1.00 \begin {gather*} -\frac {1}{\sqrt {a \sec ^2(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 13, normalized size = 1.08
method | result | size |
derivativedivides | \(-\frac {1}{\sqrt {a +a \left (\tan ^{2}\left (x \right )\right )}}\) | \(13\) |
default | \(-\frac {1}{\sqrt {a +a \left (\tan ^{2}\left (x \right )\right )}}\) | \(13\) |
risch | \(-\frac {{\mathrm e}^{2 i x}}{2 \sqrt {\frac {a \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}+1\right )}-\frac {1}{2 \left ({\mathrm e}^{2 i x}+1\right ) \sqrt {\frac {a \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}}\) | \(65\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.62, size = 12, normalized size = 1.00 \begin {gather*} -\frac {1}{\sqrt {a \tan \left (x\right )^{2} + a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.33, size = 14, normalized size = 1.17 \begin {gather*} - \frac {1}{\sqrt {a \tan ^{2}{\left (x \right )} + a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 12, normalized size = 1.00 \begin {gather*} -\frac {1}{\sqrt {a \tan \left (x\right )^{2} + a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 11.80, size = 11, normalized size = 0.92 \begin {gather*} -\frac {\sqrt {{\cos \left (x\right )}^2}}{\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________